<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./lib/react.development.js"></script>
    <script src="./lib/react-dom.development.js"></script>
    <script src="./lib/babel.min.js"></script>
    <style>
        .bg{
            color:green;
            font-size: 40px;
        }
    </style>
</head>
<body>
<div id="root">

</div>

</body>
<script type="text/babel">
    const root = ReactDOM.createRoot(document.querySelector("#root"));
    let num = 1;
    let num2 = 2;
    let my = {
        color:"red"
    };
    root.render((
        <div>
            <h3 style={my}>我现在很好，你现在过的好不好？</h3>
            <div>
                <span className="bg">{num}</span>
                <span>{num2}</span>
            </div>
        </div>
    ))
</script>
</html>